
Page({
  data: {
  },
  goPage() {
    wx.navigateTo({
      url: '../camera/index',
    })
  },
  onLoad() {
    wx.getSetting({
      success(res) {
        if (!res.authSetting['scope.camera']) {
          wx.authorize({
            scope: 'scope.camera',
          })
        }
      }
    })
  },
})
